package com.fxl.majiang.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author fengxinglei
 * @date 2022/7/29 14:00
 * @description TODO
 */
@Getter
@AllArgsConstructor
public enum OperationEnum {
    JOIN(1, "加入"),
    UN_READY(2, "未准备"),
    READY(3, "准备"),
    PLAY_THE_CARD(4, "出牌"),
    GRABBING(5, "摸牌"),
    SUPPLEMENT(6, "补花"),
    MING_GANG_IT(7, "明杠某张打出的牌"),
    AN_GANG(8, "暗杠"),
    CHI(9, "吃"),
    PENG(10, "碰"),
    DIAN_PAO(11, "点炮胡"),
    HUA_AN_GANG(12,"花暗杠"),
    ZI_MO(13,"自摸胡"),
    LEAVE_ROOM(14, "用户离开房间"),
    SUPPLEMENT_WHEN_START(15, "起手补花"),
    GIVE_UP_OPERATION(16, "放弃操作"),
    MING_GANG_AFTER_GRABBING(17, "抓牌之后明杠");

    private final int code;
    private final String name;

}
